package com.memorypalace.study.biz;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.memorypalace.pojo.CardStyle;
import com.memorypalace.study.mapper.CardStyleMapper;
@Service("cardStyleBiz")
public class CardStyleBizImpl implements ICardStyleBiz{

	
	@Autowired
	private CardStyleMapper cardStyleMapper;
	@Override
	public Boolean updateCardStyle(CardStyle cardStyle) {
		return cardStyleMapper.updateCardStyle(cardStyle);
	}

	@Override
	public Boolean addCardStyle(CardStyle cardStyle) {
		return cardStyleMapper.addCardStyle(cardStyle);
	}

	@Override
	public Boolean deleteCardStyle(String cardStyleId) {
		return cardStyleMapper.deleteCardStyle(cardStyleId);
	}

	@Override
	public Boolean addDefaultCardStyle(String userId) {
		
		return null;
	}

}
